﻿<%@ page contentType="text/html; charset=utf-8" language="java" import="java.sql.*" errorPage="" isELIgnored="false" %>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- saved from url=(0026)http://www.51puman.cn -->
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>欢迎光临租赁系统</title>
<link rel="stylesheet" type="text/css" href="css/style.css">
<script language="javascript" type="text/javascript" src="js/script.js"></script>
<script language="javascript" type="text/javascript" src="js/showTime.js"></script>
</head>

<body onLoad="showTime()">
<table width="800" border="0" align="center" cellpadding="0" cellspacing="0">
  <tr>
   <td width="150" align="center" class="loginLeftTd"><img src="image/zulin-logo.gif" width="100" height="30"></td>
   <td width="10" class="loginRightTd"><img src="image/menu-bj-blue-pic.gif" width="7" height="30"></td>
   <td width="640" class="loginRightTd" id='clock'>&nbsp;</td>
  </tr>
  <tr>
    <td colspan="3" height="3"></td>
  </tr>
</table>
<table width="800" border="0" align="center" cellpadding="0" cellspacing="0" class="outerBorder">
  <tr>
    <td height="3"></td>
  </tr>
  <tr>
    <td>
	<table width="790" align="center" cellpadding="0" cellspacing="0" class="innerBorder">
      <tr>
      <td width="30" align="center" valign="top" bgcolor="#84baff" class="welcomeTo">欢<br>迎<br>光<br>临<br></td>
      <td width="180"><a href="http://www.51puman.cn"><img src="image/logo.gif" width="180" height="60" border="0"></a></td>
      <td width="580" align="center">
	  <table width="555" border="0" cellpadding="0" cellspacing="0" class="bannerOuter">
        <tr>
          <td align="center">
		  <table width="550" border="0" cellpadding="0" cellspacing="0" class="innerBorder">
            <tr>
              <td class="bannerTitle"><marquee direction="left">
                欢迎加入租赁系统
              </marquee></td>
            </tr>
          </table>
		  </td>
        </tr>
      </table>
	  </td>
      </tr>
    </table>
	</td>
  </tr>
  <tr>
    <td height="3"></td>
  </tr>
</table>
<br>
<table width="800" border="0" align="center" cellpadding="0" cellspacing="0" class="listTable">
<form name="goToDel" method="post" action="/delHou.do">
  <tr>
    <td height="3" colspan="2"></td>
  </tr>
  <tr align="center" bgcolor="#f7f7ff">
    <td colspan="9" class="listTopTd">
	<table width="800" border="0" cellpadding="0" cellspacing="0" >
      <tr>
        <td width="170" align="center">
		<input name="delItem" type="submit" class="addButton" value="删除选中">&nbsp;
		<input name="addItem" type="button" class="addButton" value="新增信息" onclick="goToTarget('/add.jsp')"></td>
        <td width="470" align="center" class="listTopTd"><img src="image/star.gif" width="15" height="13">&nbsp;&nbsp;房屋出租信息列表</td>
        <td width="170">&nbsp;</td>
      </tr>
    </table>
	</td>
  </tr>
  <tr align="center" bgcolor="#ffcc80">
    <td width="50" align="center" class="listTitleTd"><input name="checkAll" type="checkbox" onclick="checkAllBox(0)"></td>
    <td width="250" bgcolor="#ffcc80" class="listTitleTd">位置</td>
    <td width="100" class="listTitleTd">户型</td>
    <td width="50" class="listTitleTd">面积</td>
    <td width="50" class="listTitleTd">楼层</td>
    <td width="50" class="listTitleTd">租金</td>
    <td width="100" class="listTitleTd">联系电话</td>
    <td width="100" class="listTitleTd">发布日期</td>
    <td width="50" class="listFirstTd">详情</td>
  </tr>

<c:forEach items="${houList}" var="dto">
  <tr align="center">
    <td width="50" align="center" class="listTd"><input name="checkOne" type="checkbox" value="${dto.id}"></td>
    <td width="250" align="left" class="listTd">&nbsp;&diams;&nbsp;${dto.address}</td>
    <td width="100" class="listTd">${dto.houseType}</td>
    <td width="50" align="right" class="listTd">${dto.acreage}M&sup2;</td>
    <td width="50" class="listTd">${dto.floorNo}/${dto.allFloor}</td>
    <td width="50" align="right" class="listTd">${dto.hirePrice}/月</td>
    <td width="100" class="listTd">${dto.linkTel}</td>
    <td width="100" class="listTd">${dto.bookTime}</td>
    <td width="50" class="listTd"><a href="detail.do?id=${dto.id}" target="_self">详情</a></td>
  </tr>
</c:forEach>
    <tr align="center">
    <td colspan="9" align="center" > 
    <a href="/houList.do?page=1">首页</a>
    <a href="/houList.do?page=${currentPage-1}">上一页</a>
    <a href="/houList.do?page=${currentPage+1}">下一页</a>
    <a href="/houList.do?page=${maxPage}">尾页</a></td>
  </tr>
  </form>
</table>
<br>
<br>
</body>
</html>
<script ></script>